export default [
  {
    path: '/front/',
    name: 'FrontApp',
    component: () => import('@/pages/front/FrontIndex'),
    children: [
      {
        path: 'index',
        name: 'IndexContent',
        component: () => import('@/pages/front/IndexContent'),
        meta: { title: '沐言科技 - 前端首页' }
      },
      {
        path: 'login',
        name: 'Login',
        component: () => import('@/pages/front/Login'),
        meta: { title: '沐言科技 - 用户登录' }
      },
      {
        path: 'logout',
        name: 'Logout',
        component: () => import('@/pages/front/Logout'),
        meta: { title: '沐言科技 - 系统注销' }
      },
      {
        path: 'oauth2/login',
        name: 'OAuthLogin',
        component: () => import('@/pages/front/oauth2/OAuthLogin'),
        meta: { title: '沐言科技 - OAuth登录' }
      },
      {
        path: 'oauth2/user',
        name: 'OAuthUser',
        component: () => import('@/pages/front/oauth2/OAuthUser'),
        meta: { title: '沐言科技 - 用户信息' }
      },
      {
        path: 'center',
        name: 'ControlCenter',
        component: () => import('@/pages/front/center/ControlCenter'),
        meta: { title: '沐言科技 - 信息访问' },
        children: [{
          path: 'message/show',
          name: 'MessageShow',
          component: () => import('@/pages/front/center/message/MessageShow'),
          meta: { title: '沐言科技 - 信息访问' }
        },
        {
          path: 'message/echo',
          name: 'MessageEcho',
          component: () => import('@/pages/front/center/message/MessageEcho'),
          meta: { title: '沐言科技 - 信息回调' }
        },
        {
          path: 'websocket/echo',
          name: 'WebSocketEcho',
          component: () => import('@/pages/front/center/websocket/WebSocketEcho'),
          meta: { title: '沐言科技 - WebSocket' }
        },
        {
          path: 'websocket/repeat',
          name: 'WebSocketRepeat',
          component: () => import('@/pages/front/center/websocket/WebSocketRepeat'),
          meta: { title: '沐言科技 - WebSocket' }
        }]
      }
    ]
  }
]
